package cms.simmytech.response;

import cms.simmytech.model.TbMoment;
import cms.simmytech.model.TbMomentComment;

import java.util.ArrayList;
import java.util.List;

/**
 * 标题、简要说明. <br>
 * 类详细说明.
 * <p>
 * Copyright: Fancy,Inc Copyright (c) 2018年7月10日 下午3:14:37
 * <p>
 * Team:Fancy Harbin
 * <p>
 *
 * @author
 * @version 1.0.0
 */
public class MomentDetailResponse extends BaseResponse {

    public MomentDetailResponse(int stat) {
        super(stat);
    }

    private Data data = new Data();

    /**
     * 获取 data
     *
     * @return data
     */
    public Data getData() {
        return data;
    }

    /**
     * 设置 data
     *
     * @param data data
     */
    public void setData(Data data) {
        this.data = data;
    }

    public class Data {
        private TbMoment moment;
        List<TbMomentComment>  commentList=new ArrayList<>();

        public TbMoment getMoment() {
            return moment;
        }

        public void setMoment(TbMoment moment) {
            this.moment = moment;
        }

        public List<TbMomentComment> getCommentList() {
            return commentList;
        }

        public void setCommentList(List<TbMomentComment> commentList) {
            this.commentList = commentList;
        }
    }

}
